package com.ruoyi.common.constant;

/**
 * 用户常量信息
 *
 * @author ruoyi
 */
public class WalletConstants {

    public static final String WALLET_FLOW_TO_ADMIN = "LinkCredit";

    public static final String OVERFLOW_TO_WALLET = "Overflow-Wallet";

    public static final String WALLET_TYPE_BALANCE = "walletBalance";
    public static final String WALLET_TYPE_BONUS = "walletBonus";

    public static final String WALLET_FLOW_INCOME = "1";
    public static final String WALLET_FLOW_EXPEND = "2";

    public static final String WALLET_ORDER_TYPE_BALANCE = "1";
    public static final String WALLET_ORDER_TYPE_BONUS = "2";

    public static final String WALLET_TYPE_BALANCE_1 = "1";
    public static final String WALLET_TYPE_BONUS_2 = "2";

    public static final String WALLET_STATUS_LOCK = "0";
    public static final String WALLET_STATUS_NORMAL = "1";
    public static final String WALLET_STATUS_BALANCE_LOCK = "2";
    public static final String WALLET_STATUS_BONLUS_LOCK = "3";

    public static final String ORDER_TYPE_REFUND = "4";
    public static final String ORDER_TYPE_WITHDRAW = "5";
    public static final String ORDER_TYPE_REPAY = "6";
    public static final String ORDER_TYPE_DEFERRED_REPAY = "7";

    public static final String WALLET_ORDER_STATUS_REJECTED = "0";
    public static final String WALLET_ORDER_STATUS_APPROVED = "1";
    public static final String WALLET_ORDER_STATUS_UNDER_REVIEW = "9";
    public static final String WALLET_ORDER_STATUS_PENDING = "2";
    public static final String WALLET_ORDER_STATUS_SUCCESS = "3";
    public static final String WALLET_ORDER_STATUS_FAILED = "4";
    public static final String WALLET_ORDER_STATUS_RETRIED = "5";
    public static final String WALLET_ORDER_STATUS_REPAY_PENDING = "6";
    public static final String WALLET_ORDER_STATUS_DEFERRED_PENDING = "7";


    public static final String WALLET_FLOW_CHANGE_TYPE_INCOME = "1";
    public static final String WALLET_FLOW_CHANGE_TYPE_EXPEND = "2";

    public static final String WALLET_FLOW_FUNDS_TYPE_INVITE_FRIENDS = "1";
    public static final String WALLET_FLOW_FUNDS_TYPE_OVERFLOW = "2";
    public static final String WALLET_FLOW_FUNDS_TYPE_BIND_CARD = "3";
    public static final String WALLET_FLOW_FUNDS_TYPE_REFUND = "4";
    public static final String WALLET_FLOW_FUNDS_TYPE_WITHDRAW = "5";
    public static final String WALLET_FLOW_FUNDS_TYPE_REPAY = "6";
    public static final String WALLET_FLOW_FUNDS_TYPE_DEFERRED_REPAY = "7";
    public static final String WALLET_FLOW_FUNDS_TYPE_SERVICE_FEE = "8";
    public static final String WALLET_FLOW_FUNDS_TYPE_VIP_REWARD = "9";
    public static final String WALLET_FLOW_FUNDS_TYPE_MONNIFY_CHARGE = "10";
    public static final String WALLET_FLOW_FUNDS_TYPE_PAYSTACK_CHARGE = "11";

    //客户账户锁
    public static final String WALLET_ACCOUNT_LOCK_KEY_PREFIX = "WALLET-ACCOUNT:";

    public static final String WALLET_ORDER_STATUS_0 = "orderRejected";
    public static final String WALLET_ORDER_STATUS_1 = "orderApproved";
    public static final String WALLET_ORDER_STATUS_9 = "orderUnderReview";
    public static final String WALLET_ORDER_STATUS_2 = "orderPending";
    public static final String WALLET_ORDER_STATUS_3 = "orderSuccess";
    public static final String WALLET_ORDER_STATUS_4 = "orderFailed";
    public static final String WALLET_ORDER_STATUS_5 = "orderRetried";

}
